runtime.cleanupQueue.asleep (field)
6 uses
runtime (current package)
mcleanup.go#L404: asleep atomic.Uint32
mcleanup.go#L509: q.asleep.Add(1)
mcleanup.go#L517: q.asleep.Add(-1)
mcleanup.go#L589: return q.workUnits.Load() > 0 && (q.asleep.Load() > 0 || q.ng.Load() < maxCleanupGs())
mcleanup.go#L602: asleep := uint64(q.asleep.Load())
mcleanup.go#L633: q.asleep.Add(-int32(wake))
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |